@extends('wechat')
@section('content')
    <div class="wrap">
        <div class="main_user">
            <div class="main_L" >
                <div class="side_box">
                    <div class="user_pic"><img src="{{asset('images/user_pic.jpg')}}" width="80" height="80" /></div>
                    <div class="user_name">您好！{{$user->name}}</div>
                    <div class="side_nav">
                        <ul>
                            <li>
                                <a href="{{url('/wechat/personal')}}"><span>个人资料</span></a>
                            </li>
                            <li>
                                <a href="{{url('/wechat/order')}}"><span>我的订单</span></a>
                            </li>

                        </ul>
                    </div>
                </div>
            </div>

            <div class="main_R">

                <div class="pro_form">
                    <form action="{{url('wechat/myinformation/'.$user->id)}}" method="POST">{{ csrf_field() }}

                        <dl>
                            <dt class="dt_u">当前头像：</dt>
                            <dd><div class="u_pic"><img src="{{asset('images/user_pic.jpg')}}" width="80" height="80" /></div></dd>
                        </dl>
                        <dl>
                            <dt>姓名：</dt>
                            <dd><input class="input" name="nickName" type="text" value="{{$user->nickName}}" /></dd>
                        </dl>
                        {{--<dl>--}}
                            {{--<dt>性别：</dt>--}}
                            {{--<dd><input name="sex" type="radio" value=""> <span class="t_sex">男</span> <input name="sex" type="radio" value=""> <span class="t_sex">女</span></dd>--}}
                        {{--</dl>--}}
                        <dl>
                            <dt>手机：</dt>
                            <dd><input class="input" name="mobile" type="text" value="{{$user->mobile}}" /></dd>
                        </dl>
                        <dl>
                            <dt>邮箱：</dt>
                            <dd><input class="input" name="email" type="text" value="{{$user->email}}" /></dd>
                        </dl>
                        <dl>
                            <dt>居住地：</dt>
                            <dd><input class="input" name="adderss" type="text" value="{{$user->adderss}}" /></dd>
                        </dl>
                        <dl>
                            <dt>&nbsp;</dt>
                            <dd>
                                <input class="btn" name="" type="submit" value="确认" />
                            </dd>
                        </dl>

                        <div class=" clear"></div>
                    </form>
                </div>

            </div>

            <div class="clear"></div>
        </div>
    </div>
@stop